package com.zzyl.nursing.task;

import com.zzyl.nursing.service.impl.AlertRuleServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

@Component
public class AlertJob {

    @Autowired
    private AlertRuleServiceImpl alertRuleServiceImpl;

    @Autowired
    private RedisTemplate<String,String> redisTemplate;
    public void deviceDataAlertFilter(){
        alertRuleServiceImpl.alertFilter();
    }
}
